<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div></div>
    <div></div>
    <div></div>

    <script>
      console.log(document.querySelectorAll('div'))

      console.log(document.getElementsByTagName('div'))

      //   console.log(a)

      //   let a = 1

      //   const str = '123'

      //   let str1 = new String(str)

      //   console.log(str1.length)

      //   str1 = null

      //   console.log(str.length)

      //   function fn() {
      //     console.log(1)
      //   }

      //   const obj = {}

      //   console.dir(fn)
      //   console.log(fn.constructor === Function)
      //   console.log(obj.constructor === Object)

      //   console.log(Array.isArray(1))
    </script>
  </body>
</html>
